/**
 *      Created by 段新瑞 on 2017/4/7.
 *      Copyright © 2017年 联壁. All rights reserved.
 *           ┏┓       ┏┓
 *          ┏┛┻━━━━━━━┛┻┓
 *          ┃           ┃
 *          ┃     ━     ┃
 *          ┃  ┳┛   ┗┳  ┃
 *          ┃           ┃
 *          ┃     ┻     ┃
 *          ┃           ┃
 *          ┗━┓       ┏━┛
 *            ┃       ┃
 *            ┃       ┃
 *            ┃       ┗━━━┓
 *            ┃           ┣━┓
 *            ┃           ┏━┛
 *            ┗┓┓┏━━━━━┳┓┏┛
 *             ┃┫┫     ┃┫┫
 *             ┗┻┛     ┗┻┛
 *
 *      LBConfigModel.h
 *      LandCredit
 **/

#import <Foundation/Foundation.h>
#import "ZYRequestUserInfoModel.h"


/// 用户信息
@interface ZYUserInfoModel : NSObject

+ (instancetype)sharedInfoModel;

/**
 *  获取用户数据
 */
+ (void)requestUserModel;

@property (nonatomic, strong) ZYRequestUserInfoModel *userModel;

/**
 *  保存与清空
 */
+ (void)saveUserModel;
- (void)saveUserModel;
- (void)clean;
+ (void)clean;

/**
 *  是否登录
 */
+ (BOOL)isLogin;

/// 是否店长
+ (BOOL)isManager;

@end
